/**
 * 项目名称:消费信息类
 *
 * @Author: 夏国倩
 * @Date: 2023/10/5 11:41
 * @Copyright
 */
package itSystemCase5;
public class ConsumInfo {
    private String cardNumber;  //卡号
    private String type;  //消费类型：通话、发短信、上网
    private int consumData; //消费数据 :通话(分钟)、发短信(条)、上网(MB)

    //无参构造
    public ConsumInfo(){
    }
    //有参构造
    public ConsumInfo(String cardNumber, String type, int consumData) {
        super();
        this.cardNumber = cardNumber;
        this.type = type;
        this.consumData = consumData;
    }
    //getter和setter
    public String getCardNumber() {
        return cardNumber;
    }
    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public int getConsumData() {
        return consumData;
    }
    public void setConsumData(int consumData) {
        this.consumData = consumData;
    }
}
